$(document).ready(function(){
	var i_slider=new jslider({
		'sel_container':'#index_slider_cropper',
	  'sel_slider':'#index_slider_slider',
	  'sel_items':'#index_slider_slider .index_slider_item',
	  'sel_arr_l':'#index_slider_left',
	  'sel_arr_r':'#index_slider_right',
	  'onpage_level':990,
	  'onpage_great':1,
	  'onpage_less':1,
	  'sel_items_width':990,
		'page_selector':'#promo-slider-previews',
		'page_selector_item':'#promo-slider-previews .slider_switcher'
	});
});

	/*
	var player;
  function floaded(){
    player = new YT.Player('player', {
      videoId: '-cSFPIwMEq4',
      events:{
        'onStateChange': function (event){
            if (event.data == YT.PlayerState.PLAYING){
							alert("Playing..");
						}else if (event.data == YT.PlayerState.PAUSED){
							alert ("Paused..");
						}else
            	alert ("Buffering/Video Ended");
				}
			}
  	});
	}
	*/